package com.dota.biz.role.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dota.biz.role.domain.Role;
import com.dota.biz.role.persistence.RoleMapper;
import com.dota.biz.service.base.BaseService;

@Service
public class RoleService extends BaseService<RoleMapper, Role> {
	@Resource
	private RoleMapper roleMapper;

	public List<String> selectNameByUserId(Integer id) {

		return roleMapper.selectNameByUserId(id);
	}

}
